<!DOCTYPE html>
<html lang="zh-cmn-Hans">
	<head>
		<meta charset="UTF-8">
		<meta name="keywords" content="个人中心,营圈网" />
		<meta name="description" content="个人中心，营圈网，一起来赢！" />
		<title>我的订单 - 营圈网</title>
		<#include "/common/head.html">
	</head>

	<body>
			<#include "/mine/header.html">
		<div class="person-section clearfix">
			<!--左分类-->
			<#include "/mine/left.html">
			<!--内容-->
			<div class="mordrMain fr">
				<!--订单搜索范围查找-->
				<form action="/order/list.html" method="post" class="form">
					<div class="rangeSearch">
						<div class="search clearfix">
							<input type="text" name="code" class="fl t" placeholder="请输入订单编号" value="${(order.code)!""}">
							<div class="fl type clearfix">
								<span class="fl" style="line-height: 26px;padding-left: 10px;">订单状态：</span>
								<select name="status"  class="fl typeCh" style="height:26px;">
									<option value=0>全部</option>
									<#if status??><#list status as item>
					    			<option value=${item.val} <#if (order.status)?? && (order.status)?number == item.val>selected="selected"</#if>>${(item.text)!""}</option>
					    			</#list></#if>
								</select>
							</div>
							<div class="fl dealTimer clearfix" style="line-height: 26px;padding-left: 10px;">
								<span class="fl">下单时间：</span>
								<input type="text" name="orderTimeStart" id="orderTimeStart" value="<#if (order.orderTimeStart)??>${(order.orderTimeStart)?string("yyyy-MM-dd HH:mm:ss")}</#if>" placeholder="下单开始时间" class="fl t">
								<em class="fl">-</em>
								<input type="text" name="orderTimeEnd" id="orderTimeEnd" value="<#if (order.orderTimeEnd)??>${(order.orderTimeEnd)?string("yyyy-MM-dd HH:mm:ss")}</#if>" placeholder="下单结束时间" class="fl t">
							</div>
							
							<input type="submit" value="订单搜索" class="fl b">
						</div>
					</div>
				</form>
				
				<div class="title clearfix">
					<ul class="clearfix fl">
						<li class="fl hover"><a name="orderStatusBtn" href="javascript:void(0);" url="/order/all.html">所有订单</a></li>
						<li class="fl"><a name="orderStatusBtn" href="javascript:void(0);" url="/order/unpay.html">待付款</a></li>
						<li class="fl"><a name="orderStatusBtn" href="javascript:void(0);" url="/order/paid.html">待发货</a></li>
						<li class="fl"><a name="orderStatusBtn" href="javascript:void(0);" url="/order/sent.html">待收货</a></li>
						<li class="fl"><a name="orderStatusBtn" href="javascript:void(0);" url="/order/canceled.html">已取消</a></li>
						<li class="fl active"><a name="orderStatusBtn" href="javascript:void(0);" url="/order/refund.html">退款申请</a></li>
					</ul>
				</div>

				<ol class="clearfix tradingStatus">
					<li class="fl one">商品</li>
					<li class="fl two">单价</li>
					<li class="fl three">数量</li>
					<li class="fl four">商品价格</li>
					<li class="fl four">实付款</li>
					<li class="fl five">状态</li>
					<li class="fl four">操作</li>
				</ol>
				<!--订单-->
				<span id="orderContents">
				<#include "/mine/orders-content.html">
				</span>
				<script type="text/javascript" src="http://static.yqw.com/js/biz/orders.js"></script>
				<script type="text/javascript" src="http://static.yqw.com/js/biz/order-content.js"></script>
			</div>
		</div>
		<!--尾部-->
		<#include "/common/footer.html">
		
		<script type="text/javascript" src="http://static.yqw.com/js/ext/laydate/laydate.js"></script>
		<script>
			laydate.render({
			  elem: '#orderTimeStart,#orderTimeEnd'
			  ,type: 'datetime'
			  ,min: '2018-1-1'
			  ,max: '2025-12-31'
			});
		</script>
	</body>
	
</html>